//package utils.photo;
//
//import com.epoch.bean.response.ResponseBean;
//import com.epoch.service.PhotoService;
//import io.swagger.annotations.ApiOperation;
//import org.springframework.beans.factory.annotation.Autowired;
//import org.springframework.web.bind.annotation.PostMapping;
//import org.springframework.web.bind.annotation.RequestParam;
//import org.springframework.web.bind.annotation.RestController;
//import org.springframework.web.multipart.MultipartFile;
//
//import javax.servlet.http.HttpServletResponse;
//
///**
// * 图片上传、获取
// * @author Seven
// * @date 2021/12/12
// */
//@RestController
//public class PhotoUtil {
//
//    @Autowired
//    private PhotoService photoService;
//
//    @ApiOperation(value = "资源版块")
//    @PostMapping("epoch/resource/photo/addPhotoInPhotoDao")
//    public ResponseBean addPhotoInPhotoDao(@RequestParam("multipartFile") MultipartFile multipartFile, @RequestParam("who") String who, @RequestParam("belong") String belong, HttpServletResponse response){
//        System.out.println("addPhotoInPhotoDao PhotoController");
//        return photoService.addPhotoInPhotoDao(multipartFile,belong,who,response);
//    }
//
//    @ApiOperation(value = "资源版块")
//    @PostMapping("epoch/resource/photo/getByWhoBelong")
//    public ResponseBean getByWhoBelong(@RequestParam("who") String who, @RequestParam("belong") String belong,HttpServletResponse response){
//        return photoService.getByWhoBelong(who, belong, response);
//    }
//
//}
